package com.example.advancecomponents.adaptors;

import android.content.Context;

import androidx.annotation.Nullable;

import com.example.advancecomponents.vo.Star;

import java.util.List;

public class PagerTabStripAdapter extends SimpleImageViewPagerAdapter{

    public PagerTabStripAdapter(Context context, List<Star> stars) {
        super(context, stars);
    }

    @Nullable
    @Override
    public CharSequence getPageTitle(int position) {
        return stars.get(position).getName();
    }
}
